package com.lovo.psc.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
@TableName("psc_bid")
@NoArgsConstructor
@ApiModel(value = "招标书实体类",description = "招标书实体类")
public class BidBean {
    @TableId(value = "pk_bidId",type = IdType.AUTO)
    @ApiModelProperty(value = "投标书主键")
    private long bidId;
    @TableField("b_totalPrice")
    @ApiModelProperty(value = "招标商品总价")
    private float totalPrice;
    @TableField("b_status")
    @ApiModelProperty(value = "中标状态")
    private int status=0;//0为未中标、1为已中标
    @TableField("fk_tendersId")
    @ApiModelProperty(value = "招标书主键")
    private long tenderId;
    @TableField(exist = false)
    @ApiModelProperty("投标书集合")
    private List<TendersBean>tendersBeanList;

    @TableField("b_src")
    @ApiModelProperty(value = "pdf路径")
    private String src;

}
